package com.itheima.miankuangjia;

public class Testmian {
    public static void main(String[] args) {
        Object student = BeanFactory.GetObject("student");
        System.out.println(student);

        Object teacher = BeanFactory1.GetBean("teacher");
        System.out.println(teacher);

        Object student1 = BeanFactory2.getBean("student1");
        System.out.println(student1);

        Object teacher1 = BeanFactory3.getBean("teacher");
        System.out.println(teacher1);

    }
}
